Piwik\Plugin\Controller C

Total Complexity 117
Dependencies 43
Dependents 0
Total lines 859
Lines of code 447
Logical lines of code 311
Comment lines 368
Methods 35
Properties 6

Methods 35

Method Rating Maintainability Complexity Lines of code
setBasicVariablesNoneAdminView()
A
41 13 50
renderTemplateAs()
A
49 12 27
getLastUnitGraphAcrossPlugins()
A
48 11 29
setGeneralVariablesViewAs()
A
40 8 56
renderReport()
S
51 7 25
showWhatIsNew()
S
57 6 17
setHostValidationVariablesView()
S
47 4 32
getGraphParamsModified()
S
58 5 14
redirectToIndex()
S
51 4 24
getDateParameterInTimezone()
S
62 4 12
setPeriodVariablesView()
S
56 3 18
checkTokenInUrl()
S
63 4 10
checkSitePermission()
S
66 4 8
getUrlSparkline()
S
62 3 10
getValidDate()
S
67 3 9
checkViewType()
S
71 3 5
init()
S
58 2 14
getCalendarPrettyDate()
S
69 2 7
getNumericValue()
S
69 2 6
doRedirectToUrl()
S
63 2 9
getEnabledPeriodsNames()
S
60 1 12
addCustomLogoInfo()
S
73 1 5
getPrettyDate()
S
77 1 3
__construct()
S
82 1 3
setBasicVariablesViewAs()
S
77 1 4
setBasicVariablesView()
S
81 1 3
setGeneralVariablesView()
S
79 1 3
setMinDateView()
S
73 1 5
getLastUnitGraph()
S
71 1 5
renderTemplate()
S
79 1 3
renderView()
S
81 1 3
getDefaultAction()
S
82 1 3
getEnabledPeriodsInUI()
S
76 1 4
setDate()
S
76 1 4
setMaxDateView()
S
73 1 5